home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / gfx / 3d / rayshade40_enh2.lha / Examples / cblob.ray < prev    next >
Text File  |  1992-10-13  |  2KB  |  40 lines

  1. /*
  2.  * Example blob input file, courtesy of Mark Podlipec
  3.  * Modified for multi-surfaced blob (i.e. cblob) by George McGregor
  4.  */
  5. eyep  0.0 -6.0 1.0
  6. lookp 0.0 0.0 0.0
  7. fov 45. 34.
  8. screen 240 240
  9. light 1.4 point 15.  -20. 25.
  10. light 0.7 point 5. -25. 10.
  11.  
  12. surface white ambient .02 .02 .02 diffuse .5 .5 .5 specular .8 .8 .8 specpow 32
  13. surface bland ambient .02 .02 .02 diffuse .5 .5 .5 specular .8 .8 .8 specpow 32
  14.  
  15. /* Note: Seperate surfaces for each metaball... which may not be necessary */
  16. surface crystal diffuse .03 .03 .08
  17.         reflect 0.03 transp 0.96 index 1.5
  18. surface greensmoke diffuse .01 .05 .01 reflect .10 specpow 30 specular .8 .85 .8
  19. surface blueglass diffuse .09 .15 .45 specular .5 .5 .6 reflect .5
  20. surface gold  diffuse 0.22 0.18 0.05 specular .8 .8 .4 ambient .04 .02 .0
  21.     reflect 0.93 specpow 58
  22. surface ceramic diffuse 0.6118 0.6794 0.7471 ambient 0.2039 0.2265 0.2490
  23.   specular .5 .5 .5 specpow 25
  24. surface plaster diffuse 0.6735 0.6059 0.4465 ambient 0.2245 0.2020 0.1388
  25. surface silver diffuse .02 .02 .04 specular .71 .71 .7 reflect .95 specpow 70
  26.  
  27. /*   surface  treshhold strength radius    x      y      z      surface */
  28. /*      |         |         |       |      |      |      |      |   |   */
  29. /*      V         V         V       V      V      V      V      V   V   */
  30. cblob bland      0.6       1.0     1.0   -0.900  0.000  0.000  plaster
  31.                            1.0     1.0    0.900  0.000  0.000  greensmoke
  32.                            1.0     1.0    0.000  0.000 -0.900  ceramic
  33.                            1.0     1.0    0.000  0.000  0.900  silver
  34.  
  35. plane white 0. 0. -3.77   0 0 1
  36.  
  37.  
  38.  
  39.  
  40.